package com.jiutong.meipenggang.entity;

import java.util.List;

/**
 * Created by bdf on 2017/12/21.
 */
public class MyInverstBean extends BaseBean {

    /**
     * totalNum : 4
     * token : 15138347082268ebb07c6-7ebf-414f-a24b-5ff0e874b5b3
     * list : [{"invest_amount":2000,"title":"美财宝2017121802","apr":8,"period_unit":0,"period":1},{"invest_amount":1000,"title":"美理财","apr":10,"period_unit":0,"period":1},{"invest_amount":1000,"title":"美理财","apr":10,"period_unit":0,"period":1},{"invest_amount":1000,"title":"美理财","apr":10,"period_unit":0,"period":1}]
     */

    private int totalNum;
    private String token;
    private List<ListBean> list;

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * invest_amount : 2000
         * title : 美财宝2017121802
         * apr : 8
         * period_unit : 0
         * period : 1
         */

        private int invest_amount;
        private String title;
        private int apr;
        private int period_unit;
        private int period;

        public int getInvest_amount() {
            return invest_amount;
        }

        public void setInvest_amount(int invest_amount) {
            this.invest_amount = invest_amount;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getApr() {
            return apr;
        }

        public void setApr(int apr) {
            this.apr = apr;
        }

        public int getPeriod_unit() {
            return period_unit;
        }

        public void setPeriod_unit(int period_unit) {
            this.period_unit = period_unit;
        }

        public int getPeriod() {
            return period;
        }

        public void setPeriod(int period) {
            this.period = period;
        }
    }
}
